#pragma once

#ifdef A2091

void a2091_init();
void a2091_free();
void a2091_reset();

void a3000scsi_init();
void a3000scsi_free();
void a3000scsi_reset();
void rethink_a2091();

void wdscsi_put(byte);
byte wdscsi_get();
byte wdscsi_getauxstatus();
void wdscsi_sasr(byte);

void scsi_hsync();

int a2091_add_scsi_unit(int ch, const TCHAR* path, int blocksize,
    const TCHAR* devname, int sectors, int surfaces, int reserved,
    int bootpri);
int a3000_add_scsi_unit(int ch, const TCHAR* path, int blocksize,
    const TCHAR* devname, int sectors, int surfaces, int reserved,
    int bootpri);

int addscsi(int ch, const TCHAR* path, int blocksize,
    const TCHAR* devname, int sectors, int surfaces, int reserved,
    int bootpri, int scsi_level);

#endif